package com.message.resp;

import com.constant.MessageType;
import com.message.DefaultMessage;
import lombok.Data;

@Data
public class ExitGroupResp extends DefaultMessage {

    private boolean exitSuccess;

    @Override
    public int getMessageType() {
        return MessageType.GROUP_QUIT_RESPONSE;
    }

    public ExitGroupResp() {
    }

    public ExitGroupResp(boolean exitSuccess) {
        this.exitSuccess = exitSuccess;
    }
}
